FacebookTwitterLinkedInHere is a code snippet to get the application path of a Windows Forms application in C#. string programPath = System.Windows.Forms.Application.ExecutablePath; More C# Snippets A function to Shuffle Array and List using C# Get Hard Drive Type using C# Copy data from DataView to DataTable using C#